﻿using FakeXiecheng.API.ValidationAttributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace FakeXiecheng.API.Dtos
{
    public class TouristRouteForUpdateDto: TouristRouteForManipulationDto
    {
        [Required(ErrorMessage = "更新必备")]
        //[MaxLength(100)]
        //public string Title { get; set; }
        //[Required]
        [MaxLength(1500)]
        public override string Description { get; set; }
        //// 计算方式：原价 * 折扣
        //public decimal Price { get; set; }
        ////public decimal OriginalPrice { get; set; }
        ////public double? DiscountPresent { get; set; }
        //public DateTime CreateTime { get; set; }
        //public DateTime? UpdateTime { get; set; }
        //public DateTime? DepartureTime { get; set; }
        //public string Features { get; set; }
        //public string Fees { get; set; }
        //public string Notes { get; set; }
        //public double? Rating { get; set; }
        //public string TravelDays { get; set; }
        //public string TripType { get; set; }
        //public string DepartureCity { get; set; }
        //public ICollection<TouristRoutePictureForCreationDto> TouristRoutePictures { get; set; }
        //    = new List<TouristRoutePictureForCreationDto>();
    }
}
